#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include"Pow.h"

int main()
{
	int n = 0, k = 0;
	double ret = 0.0;
	while(scanf("%d %d", &n, &k)!=EOF)
	{
		ret = Pow(n, k);
		printf("%lf", ret);
		printf("\n");
	}
	return 0;
}